{% extends 'base.html' %}

{% load i18n %}

{% block content %}
<div class="notify_box content">
  <h1>{% trans "are you sure?" %}</h1>
  {% if comment %}
  <p>{% trans "delete this comment?" %}?</p>
  <div class="quote">{{ comment.content|linebreaks }}</div>
  {% endif %}

  {% if pic %}
  <p><img src="/picture/{{ pic.key.id }}_t.jpg" alt="{{ pic.title }}"/></p>
  <p class="notify">{% trans "delete this picture?" %} ({{ pic.title }})?</p>
  {% endif %}

  {% if album %}
  {% if album.cover %}
  <p><img src="/picture/{{ album.cover.key.id }}_t.jpg" alt="{{ album.cover.title }}" /></p>
  {% endif %}
  <p class="notify">{% trans "delete the whole album?" %} ({{ album.name }}) </p>
  <p>{% trans "all of the photos under this album will be deleted" %}</p>
  {% endif %}

  <div class="options">
    <a href="{{ confirm_url }}" title="{% trans 'sure' %}" class="button">{% trans "sure" %}</a>
    <a href="{{ cancel_url }}" title="{% trans 'cancel' %}">{% trans "cancel" %}</a>
  </div>
</div>
{% endblock %}
